import Vue from 'vue';
// 导入需要使用的插件
import {
    Tabbar, TabbarItem, NavBar,
    Swipe, SwipeItem, Lazyload,
    NoticeBar, Grid, GridItem,
    Tab, Tabs, PullRefresh,
    Toast, List, Cell, CellGroup,
    Card, Tag, Button,Image as VanImage,Popup
} from 'vant';
// 注册组件
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload, {
    lazyComponent: true,
});
Vue.use(NoticeBar);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(PullRefresh);
Vue.use(Toast);
Vue.use(List);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Card);
Vue.use(Tag);
Vue.use(Button);
Vue.use(VanImage);
Vue.use(VanImage);
Vue.use(Popup);